<div class="padding20">
	<form method="post" action="/adgroup/updatecreatives" id="setupform">
		<input type="hidden" value="{$adgroup.adgroup_id}" name="adgroup_id" />
		<div class="row">
			<h5 class="campaign_select_title"  style="margin:0;margin-bottom:15px;">推广内容1 [ID: {$creative.creative_id}]</h5>
			<div class="one_half" >
				<br class="clear" />
				<div class="row"> 
					<div class="one_sixth">
						<div class="photopreview">
							<img id="creative_img_1" class="th creative_img" width="100%" src="{$creative.img_url}_160x160.jpg" />
							<input type="hidden" value="{$creative.img_url}" name="img_url[]" id="selected_img1" />
						</div>
					</div>
					<div class="five_sixth last" id="img_list1"> 
						<label >创意图片1 :</label>
						<div class="field" style="border:1px solid #DDDDDD;">
							<volist name="imgs" id="v">
							<div class="listed_pic picture1 " style="margin-left:4px;" selected='<eq name="v.img_name" value="$creative.img_name">  selected</eq>'>
								<a href="javascript:void(0);">
									<img class="" width="90%" src="{$v.url}_80x80.jpg"  name="{$v.url}"/>
								</a>
							</div>
							</volist>
						</div>
						<div class="field">
							<label>推广标题1 : (建议突出宝贝的功效，品质，信誉，价格优势等. 20个汉字以内.) </label>
							<span class="field">
								<input type="text" class="" name="title[]" id="creative_title1" value="{$creative.title}" maxlength="40" onpropertychange="wt.limitTextByte(this,40,'titleLengthLimit1')" oninput="wt.limitTextByte(this,40,'titleLengthLimit1')">
								<input type="hidden" value="{$creative.creative_id}" id="creative_id1" name="creative_id[]" />
							</span>
							<div id="titleLengthLimit1"></div>
						</div>
					</div>
				</div>
			</div>
			<div class="one_half last">
				<div class="campaign_select_title" style="margin: 20px 0 0px;overflow:hidden;line-height:31px;font-size:16px;" >
					<h4 style="float:left">统计概况</h4>
					<div  style="float:right;width:180px;margin-right:20px;" id="table_datepicker"></div> 
				</div>
				<ul id="creative_{$creative.creative_id}" class="unstyled" style="margin-top:20px;">
					<volist name="creative['report']" id="v">
					<li style="width:30%;">
						<span class="sparkLine"> {$v.series}  </span>
						<br class="clearall"/>
						{$v.label}: 
						<span class="number <if condition="$v.label eq '花费' or $v.label eq '销售额'">orange</if> ">
							<if condition="$v.label eq '花费' or $v.label eq '销售额' ">￥</if>{$v.num}
						</span>
					</li>
					</volist>
				</ul>
			</div>
		</div>
		<br class="clearall" />
		<!--  second creative -->
		<div class="row" id='creative_row2'>
			<h5 class="campaign_select_title" style="margin:0;margin-bottom:15px;">推广内容2 [ID: {$creative_other.creative_id}]</h5>
			<div class="one_half">
				<br class="clear" />
				<div class="row"> 
					<div class="one_sixth">
						<div class="photopreview">
							<img id="creative_img2" class="th creative_img" width="100%" <empty name="creative_other">src="/Img/noise.white.png" <else/>src="{$creative_other.img_url}_160x160.jpg" </empty> />
							<input type="hidden" value="{$creative_other.img_url}" name="img_url[]" id="selected_img2"/>
						</div>
					</div>
					<div class="five_sixth last" id="img_list2"> 
						<label >创意图片2 :</label>
						<div class="field" style=" border: 1px solid #DDDDDD;">
							<volist name="imgs" id="v">
								<div class="listed_pic picture2" style="margin-left:4px;"> <eq name="v.img_name" value="$creative_other.img_name">selected</eq>
								<a href="javascript:void(0);">
									<img class="" width="90%" src="{$v.url}_80x80.jpg"  name="{$v.url}"/>
								</a>
							</div>
							</volist>
						</div>
						<div class="row"> 
							<label >推广标题2 : (建议突出宝贝的功效，品质，信誉，价格优势等. 20个汉字以内.) </label>
							<span class="field">
								<input type="text" class="" name="title[]" id="creative_title2" value="{$creative_other.title}" maxlength="40" onpropertychange="wt.limitTextByte(this,40,'titleLengthLimit2')" oninput="wt.limitTextByte(this,40,'titleLengthLimit2')">
								<input type="hidden" value="{$creative_other.creative_id}" id="creative_id2" name="creative_id[]" />
							</span>
							<div id="titleLengthLimit2"></div>
						</div>
					</div>
				</div>
			</div>
			<div class="one_half last">
				<ul id="creative_{$creative_other.creative_id}" class="unstyled creative_stats" style="margin-top:20px;">
					<volist name="creative_other['report']" id="v">
					<li style="width:30%;">
						<span class="sparkLine"> {$v.series}  </span>
						<br class="clearall"/>
						{$v.label}: 
						<span class="number <if condition="$v.label eq '花费' or $v.label eq '销售额'">orange</if> ">
							<if condition="$v.label eq '花费' or $v.label eq '销售额' ">￥</if>{$v.num}
						</span>
					</li>
					</volist>
				</ul>
			</div>
		</div>
	</form>
</div>

